package cn.bgs.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 维修项目表
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MaintenanceProjects对象", description="维修项目表")
public class MaintenanceProjects implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "维修项目表id")
    private Integer maintenanceProjectsId;

    @ApiModelProperty(value = "项目名称")
    private String theProjectName;

    @ApiModelProperty(value = "项目类型id")
    private Integer projectTypeid;

    @ApiModelProperty(value = "小区id")
    private Integer communityId;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateId;

    @ApiModelProperty(value = "删除标志（y是删除 n是未删除）")
    private String deleteFlag;


}
